package cn.edu.ldu.communityqa.communityqa.entity;

import lombok.Data;

import java.time.LocalDateTime;

@Data
public class Answer {
    // 答案ID
    private Long id;

    // 问题ID
    private Long questionId;

    // 回答者ID
    private Long userId;

    // 答案内容
    private String content;

    // 创建时间
    private LocalDateTime createdAt;

    // 更新时间
    private LocalDateTime updatedAt;
}
